how to get 2 values form a dictionary in python

38

keys = ['firstKey', 'secondKey', 'thirdKey']
for key in keys:
    myDictionary.get(key)

Comments

Submit
0 Comments